﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace WMSSystem.YJ
{
    /// <summary>
    /// 货品信息
    /// </summary>
    public  class Commoditiestable: AuditedAggregateRoot<Guid>
    {

        /// <summary>
        /// 租户号
        /// </summary>
        [MaxLength(50)]
        public string TenantId { get; set; }

        /// <summary>
        /// 货品名称
        /// </summary>
        [MaxLength(100)]
        public string CommoditiesName { get; set; }

        /// <summary>
        /// 货品编码
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesCode { get; set; }

        /// <summary>
        /// 货品规格
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesGuike { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
      
        public string UserName { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [MaxLength(10)]
        public string CommoditiesStates { get; set; }

        /// <summary>
        /// 保质期
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesIndate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(200)]
        public string CommoditiesDesc { get; set; }

        /// <summary>
        /// 出库价格
        /// </summary>
        public float OuthomeMoney { get; set; }

        /// <summary>
        /// 货品类型
        /// </summary>
        [MaxLength(20)]
        public string CommoditiesType { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        [MaxLength(50)]
        public string SupplierName { get; set; }

        /// <summary>
        /// 入库价格
        /// </summary>
        public float InhomeMoney { get; set; }

        /// <summary>
        /// 显示顺序
        /// </summary>
        [MaxLength(50)]
        public string ShowOrder { get; set; }

        /// <summary>
        /// 保质期管理
        /// </summary>
        [MaxLength(40)]
        public string IndateStates { get; set; }

        /// <summary>
        /// 预警天数
        /// </summary>
        public int Numberday { get; set; }

        /// <summary>
        /// 上传图片
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesPhone { get; set; }

        /// <summary>
        /// 上传文档
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesText { get; set; }

        /// <summary>
        /// 主单位
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesUnit { get; set; }

        /// <summary>
        /// 主单位编码
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesUnitcode { get; set; }

        /// <summary>
        /// 辅助单位
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesUnit2 { get; set; }

        /// <summary>
        /// 辅助单位编码
        /// </summary>
        [MaxLength(50)]
        public string CommoditiesUnitcode2 { get; set; }

        /// <summary>
        /// 仓库信息id
        /// </summary>
        public string HomeId { get; set; }



    }
}
